<template>
  <div class="issue">
    <big-title name="常见问题"></big-title>

    <!-- 常见问题 -->
    <div class="box" v-for="(item, index) in issue" :key="item.id">
      <div class="problem">
        {{ item.question }}
      </div>
      <div class="reply">
        {{ item.answer }}
      </div>
      <div class="dot"></div>
    </div>
  </div>
</template>

<script>
import BigTitle from "@/components/common/BigTitle"
export default {
  props: ["issue"],
  components: {
    BigTitle,
  },
}
</script>

<style lang="less" scoped>
.issue {
  background-color: #fff;
  padding: 30px 15px 0 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
  .box {
    padding: 10px 15px;
    position: relative;
    .problem {
      line-height: 1.66em;
      margin-bottom: 5px;
    }
    .reply {
      font-size: 14px;
      color: #666;
      line-height: 1.66em;
    }
    .dot {
      top: 20px;
      left: 0;
      position: absolute;
      width: 3px;
      height: 3px;
      border: solid 1px #8b0000;
      background-color: #8b0000;
      border-radius: 50%;
    }
  }
}
</style>
